home *** CD-ROM | disk | FTP | other *** search
/ WINMX Assorted Textfiles / Ebooks.tar / Text - Tech - WinMX - Bandwidth Limiters (TXT).zip / (ebook - TXT) WinMX Bandwidth Limiters (9K).txt
Text File  |  2002-05-10  |  9KB  |  120 lines

  1. A Guide to using WinMX v.3.0
  2. ----------------------------
  3.  
  4. Bandwidth Limiters
  5. ------------------
  6. The bandwidth limiters are the WinMX'ers best friend, they can be accessed through the 'bandwidth' window in WinMX by
  7. clicking the 'adjust incoming and outgoing bandwidth throttles' button.  Here you'll see 2 tickboxes, one is labelled
  8. 'Limit Incoming Bandwidth' and the other 'Limit Outgoing Bandwidth'.
  9.  
  10. The 'Limit Incoming Bandwidth' Function
  11. -------------------------------------------
  12. The 'Limit Incoming Bandwidth' function is usefull for restricting the amount of bandwidth your connection uses for
  13. incoming files, eg, when you are downloading.  You may find that when you are downloading that you can't access webpages,
  14. or they are very slow, this is because WinMX is using nearly all the capacity of your connection, its unlimited.  Now if
  15. you find that you want to be able to browse webpages etc whilst also downloading in WinMX then you can limit WinMX to use
  16. only upto an amount you specify in here.  The values that can be entered are shown in bytes per second, so a value of
  17. 12000 represents 12 thousand bytes per second (12KB/s), so, if you have a Cable connection that can download upto 64KB
  18. per second, then to prevent your downloads from using all of this capacity you would enter values below 64000 in the
  19. 'Limit Incoming Bandwidth' field.
  20.  
  21. Lets say for example your download is coming in at a nice 50K per second, yet you find that your internet webpages are
  22. very slow to open, its simply because you are using to much of your bandwidth to download in WinMX, so at this point it
  23. would be wise to limit WinMX from using so much bandwidth.  A good value here would be around 45000 (45K) or lower, a
  24. value of 45000 would leave you with at least 5K worth of your bandwidth free, so you can browse the web easily as WinMX
  25. is restricted to using 45KB per second.  If you find your webpages are still slower than you would like, then simply
  26. reduce this value until you are comfortable, try to balance it between maximum download speed in WinMX, and a nice fast
  27. webpage browsing speed.
  28.  
  29. This rule also applys if you have any downloads in progress outside of WinMX, for instance if you were downloading a game
  30. update, programs, music, etc from the internet and you found WinMX was causing it to move to slow, here you can restrict
  31. the amount of bandwidth WinMX uses to free up bandwidth for your other downloads.
  32.  
  33. The 'Limit Outgoing Bandwidth' Function
  34. ---------------------------------------
  35. This function is even more important than the 'Limit Incoming Bandwidth' function.  The 'Limit Outgoing Bandwidth'
  36. function is important because it is used to restrict how fast you are willing to allow people to download from you.
  37. If you leave this function unticked then anyone who downloads a file from you will have access to as much of your
  38. bandwidth as they can get.  This can often have an adverse affect on your download speed, and here's the reason why...
  39.  
  40. Lets assume you have a Cable internet connection, and its rated as 512/128 Cable.  The 512 value here represents your
  41. maximum download capacity in kilobits per second, and the 128 represents the limit of your upload ability.  Now to make
  42. sense of these kilobit values you need to divide them by 8, as there are 8bits in 1byte, this will tell you how fast in
  43. kilobytes (KB) per second your Cable connection is capable of.
  44.  
  45. The result will look like this...
  46. 512kilobits / 8 = 64kilobytes (512Kb divided by 8 = 64KB)
  47. 128kilobits / 8 = 16kilobytes (128Kb divided by 8 = 16KB)
  48.  
  49. As the above shows a 512/128 Cable connection is in reality limited to a maximum of 64kilobytes per second download, and
  50. 16kilobytes per second upload.  Now, this is where we get into the limiters, by knowing how fast your connecton is will
  51. really help in setting the best values to use for the limiters.
  52.  
  53. What happens is this.  Lets say you have an download in progress and its coming in at a decent 30K per second, then
  54. someone connects to you and starts downloading one of your files.  What often happens is the upload that you are sending
  55. will use nearly all your available upload bandwidth, anything upto the limit of your connection which using the example
  56. above is 16KB per second.  This will often have a dramatic effect on your download, which will slow down rapidly when you
  57. start uploading.  Why does this happen though?  In order to understand why this happens you must first learn a little
  58. about how your computer sends and receives data across the internet.
  59.  
  60. An Explanation of TCP/IP Protocol Data Transfer
  61. -----------------------------------------------
  62. What we need to understand here in relation to the bandwidth limiters is how data transfers take place.  To visualise
  63. this you can imagine how letters are sent through the postal system, although TCP represents a secure postal system.
  64. If i was to send a letter (data) to a friend, and on my friend receiving the letter he sends a letter back to me saying
  65. 'i got the letter thanks' then thats very similar to how TCP data transfer works.  What happens is when you download a
  66. file, the computer you are downloading from sends a small packet of the data, upon receipt of the data your computer
  67. sends an acknowledgment back to the computer to say 'i have the packet of data ok, you can send another one now'.
  68. These are known as 'ACK' packets, they simply confirm (ACKnowledge) the arrival of any data that gets sent between 2
  69. computers.  When the machine that sent you the data receives your acknowledgement of receipt then it can send you another
  70. packet of data, and when your computer receives the second packet of data it simply sends another ACK back to say it
  71. received it ok, and this goes on and on and on until you finally complete the download of all the packets of data that
  72. make up the file.
  73.  
  74. Now what happens when you start uploading to someone and you have no limits on your upload speed?  The answer is that your
  75. downloads will slow because even though you are receiving the data ok, your computer struggles to send back the
  76. ACKnowledgement packet to say you are ready to receive more data.  This is because your upload is using all the capacity
  77. of your connection, your ACK packets have to wait for a while before they can squeeze into the upstream of data.  The
  78. computer you are downloading from has to wait for you to acknowledge that you received the last packet of data ok, and
  79. whilst it waits it can send you no more data, therefore your download speed stalls.
  80.  
  81. Limiting Your Connection!
  82. -------------------------
  83. The answer to this is to limit your outgoing connection speed, lets say that you can upload at a maximum of 16KB per second,
  84. if you don't limit and you upload a file to someone at 16KB per second then you can't send out your ACK packets quickly so
  85. your download can continue smoothly.  What you must do in this situation is limit your upload speed to prevent it from
  86. using up all of your 16KB bandwidth.
  87.  
  88. The way to do this would be to set the limiters below 16000, a good value here would be 12000.  This means that you will
  89. restrict the speed you upload to a maximum of 12KB per second, which leaves you a nice 4KB to send out your ACK packets
  90. fast, and thus your download speed should increase.  The computer who you are downloading from no longer has to wait as
  91. long for you to send the receipt, as your connection has 4KB reserved entirely for sending the acknowledgement packets.
  92. This system is part of a term reffered to as 'handshaking' in TCP/IP connections, and the faster the handshake takes place,
  93. the faster the transfer of data.
  94.  
  95. Summary
  96. -------
  97. Hopefully from the above explanation it will start to make sense to you why limiting is such a big deal in WinMX, its
  98. important to understand this so you can get the most out of your connection, and optimise your transfers.  The above
  99. example is exactly the same for any TCP based transfer of data over the internet, so you can use it to understand why your
  100. uploads often slow down when you start downloading etc, its that ACK thing again!
  101.  
  102. Recommended Values For The Outgoing Limiter (upload limiter)
  103. ------------------------------------------------------------
  104. Modem 28.8K ............ 2250 to 2750  (recommended 2500)
  105. Modem 33.6K ............ 2500 to 3000  (recommended 2750)
  106. Modem 56K .............. 2500 to 3000  (recommended 2750)
  107. ISDN 64K ............... 5000 to 7000  (recommended 6000)
  108. ISDN 128K ............. 10000 to 14000 (recommended 12000)
  109. Cable\ADSL 512/128 .... 10000 to 14000 (recommended 12000)
  110. Cable\ADSL 1024/128 ... 10000 to 14000 (recommended 12000)
  111. Cable\ADSL 512/256 .... 20000 to 28000 (recommended 24000)
  112. Cable\ADSL 2048/256 ... 20000 to 28000 (recommended 24000)
  113. Cable\ADSL 2048/512 ... 40000 to 56000 (recommended 48000)
  114.  
  115. The above examples are good values to use for all of the connection types shown, even at the maximum values shown here it
  116. will reserve a portion of bandwidth for your ACK data, your uploads will never use your maximum upload capacity, thus your
  117. general downloading speed will operate at the optimum speed given your connection.
  118.  
  119.  
  120. dB.